package cn.dlc.com.queue;

/**
 * @author 邓立川
 * @date 2021/3/21 16:21
 * @desc 当前类的描述信息
 */
public class QueueTest {
    public static void main(String[] args) {
        Queue<String> test = new Queue<>();

        System.out.println(test.size());
        System.out.println(test.isEmpty());

        test.enQueue("123");
        test.enQueue("456");
        test.enQueue("789");
        test.enQueue("123");

        String s1 = test.deQueue();
        System.out.println(s1);

        for (String s : test) {
            System.out.println(s);
        }
    }
}
